var arr = [1, 2, 3, 4, 5, 6, 7]
arr.sort(() => {
  return Math.random() - Math.random()
})
console.log(arr);